package com.scf.common.vo;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author sunchuanfu
 * @since 2024/7/2
 */
@Data
public class UserDTO {
    @Min(value = 10L)
    private Long userId;

    @NotNull
    @Length(min = 8, max = 10)
    private String userName;

}
